package com.crm.service.orderManager;

import com.crm.model.entity.orderManager.CustomerOrderInvoiceLog;

import java.math.BigDecimal;

/**
 * @Author:chaifuyou
 * @Date: 2021/7/28 9:16
 */
public interface CustomerOrderInvoiceLogDbService {

    /**
     * 财务-新增开票信息记录
     * @param customerOrderInvoiceLog
     */
    void addOrderInvoiceLog(CustomerOrderInvoiceLog customerOrderInvoiceLog);

    /**
     * 根据开票申请id查询已开票金额
     * @param chsCustomerOrderInvoiceId
     * @return
     */
    BigDecimal getSumApplyInvoiceMoney(String chsCustomerOrderInvoiceId);
}
